package com.huangwei.service.impl;

import com.huangwei.model.UserRole;
import com.huangwei.service.UserRoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserRoleServiceImpl implements UserRoleService {
    @Resource
    UserRoleService userRoleService;
    @Override
    public UserRole getOneUserRole(int userId, int roleId) {
        try {
            return userRoleService.getOneUserRole(userId, roleId);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return null;
    }
}
